<template>
<div>作用域插槽 获取插的参数
<milf v-slot:default="slotProps">{{slotProps.user.age}}</milf>
</div>
</template>

<script>
import milf from "./milf";
export default {
  name: "scopeslot",
  components:{
    milf,
  },
  data(){
    return{
      user:{
        name:'四李娜'
      }
    }
  }

}
</script>

<style scoped>

</style>
